Conditional object declaration in javascript

visit shbcf.ru